package com.business.dynamic.service;


import com.baomidou.mybatisplus.plugins.Page;
import com.business.common.dto.R;
import com.business.dynamic.entity.DynamicCollection;

/**
 * 用户收藏表:业务接口类
 * @author chenjiehong
 * @date 2019-12-02 17:55:03
 * @since 1.0
 */
public interface DynamicCollectionService {

    /**
     * 新增用户收藏表
     *
     *
     * @param userId
     * @param dynamicId
     * @date 2019-11-29 15:15:38
     */
    Integer add(Integer dynamicId,Integer userId);

    /**
     * 删除用户收藏
     *
     * @param userId
     * @param dynamicId
     * @date 2019-11-29 15:15:38
     */
    Integer delete(Integer dynamicId,Integer userId);

}